package com.ebs.md.fxmonitor.marketmonitor.esper.listener;

import java.util.List;

import com.ebs.market.monitor.MarketMonitor.PulsingEvent;
import com.ebs.md.fxmonitor.marketmonitor.alert.AbstractAlertMessageCreatorBySingleFact;
import com.ebs.md.fxmonitor.marketmonitor.alert.PulsingMessageCreator;
import com.ebs.md.fxmonitor.marketmonitor.model.PulseSingleFact;

public class PulsingEsperListenerAndPublisher 
extends AbstractEsperListenerAndPublisher<PulsingEvent, PulseSingleFact>
{
	@Override
	protected AbstractAlertMessageCreatorBySingleFact<PulsingEvent, PulseSingleFact> 
	            getCreator( List<PulseSingleFact> dataItems) {
		return new PulsingMessageCreator(dataItems);
	}

}
